package com.steam.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class weifnagchuanruExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public weifnagchuanruExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria and编号IsNull() {
            addCriterion("编号 is null");
            return (Criteria) this;
        }

        public Criteria and编号IsNotNull() {
            addCriterion("编号 is not null");
            return (Criteria) this;
        }

        public Criteria and编号EqualTo(Integer value) {
            addCriterion("编号 =", value, "编号");
            return (Criteria) this;
        }

        public Criteria and编号NotEqualTo(Integer value) {
            addCriterion("编号 <>", value, "编号");
            return (Criteria) this;
        }

        public Criteria and编号GreaterThan(Integer value) {
            addCriterion("编号 >", value, "编号");
            return (Criteria) this;
        }

        public Criteria and编号GreaterThanOrEqualTo(Integer value) {
            addCriterion("编号 >=", value, "编号");
            return (Criteria) this;
        }

        public Criteria and编号LessThan(Integer value) {
            addCriterion("编号 <", value, "编号");
            return (Criteria) this;
        }

        public Criteria and编号LessThanOrEqualTo(Integer value) {
            addCriterion("编号 <=", value, "编号");
            return (Criteria) this;
        }

        public Criteria and编号In(List<Integer> values) {
            addCriterion("编号 in", values, "编号");
            return (Criteria) this;
        }

        public Criteria and编号NotIn(List<Integer> values) {
            addCriterion("编号 not in", values, "编号");
            return (Criteria) this;
        }

        public Criteria and编号Between(Integer value1, Integer value2) {
            addCriterion("编号 between", value1, value2, "编号");
            return (Criteria) this;
        }

        public Criteria and编号NotBetween(Integer value1, Integer value2) {
            addCriterion("编号 not between", value1, value2, "编号");
            return (Criteria) this;
        }

        public Criteria and用户号IsNull() {
            addCriterion("用户号 is null");
            return (Criteria) this;
        }

        public Criteria and用户号IsNotNull() {
            addCriterion("用户号 is not null");
            return (Criteria) this;
        }

        public Criteria and用户号EqualTo(Integer value) {
            addCriterion("用户号 =", value, "用户号");
            return (Criteria) this;
        }

        public Criteria and用户号NotEqualTo(Integer value) {
            addCriterion("用户号 <>", value, "用户号");
            return (Criteria) this;
        }

        public Criteria and用户号GreaterThan(Integer value) {
            addCriterion("用户号 >", value, "用户号");
            return (Criteria) this;
        }

        public Criteria and用户号GreaterThanOrEqualTo(Integer value) {
            addCriterion("用户号 >=", value, "用户号");
            return (Criteria) this;
        }

        public Criteria and用户号LessThan(Integer value) {
            addCriterion("用户号 <", value, "用户号");
            return (Criteria) this;
        }

        public Criteria and用户号LessThanOrEqualTo(Integer value) {
            addCriterion("用户号 <=", value, "用户号");
            return (Criteria) this;
        }

        public Criteria and用户号In(List<Integer> values) {
            addCriterion("用户号 in", values, "用户号");
            return (Criteria) this;
        }

        public Criteria and用户号NotIn(List<Integer> values) {
            addCriterion("用户号 not in", values, "用户号");
            return (Criteria) this;
        }

        public Criteria and用户号Between(Integer value1, Integer value2) {
            addCriterion("用户号 between", value1, value2, "用户号");
            return (Criteria) this;
        }

        public Criteria and用户号NotBetween(Integer value1, Integer value2) {
            addCriterion("用户号 not between", value1, value2, "用户号");
            return (Criteria) this;
        }

        public Criteria and工号IsNull() {
            addCriterion("工号 is null");
            return (Criteria) this;
        }

        public Criteria and工号IsNotNull() {
            addCriterion("工号 is not null");
            return (Criteria) this;
        }

        public Criteria and工号EqualTo(String value) {
            addCriterion("工号 =", value, "工号");
            return (Criteria) this;
        }

        public Criteria and工号NotEqualTo(String value) {
            addCriterion("工号 <>", value, "工号");
            return (Criteria) this;
        }

        public Criteria and工号GreaterThan(String value) {
            addCriterion("工号 >", value, "工号");
            return (Criteria) this;
        }

        public Criteria and工号GreaterThanOrEqualTo(String value) {
            addCriterion("工号 >=", value, "工号");
            return (Criteria) this;
        }

        public Criteria and工号LessThan(String value) {
            addCriterion("工号 <", value, "工号");
            return (Criteria) this;
        }

        public Criteria and工号LessThanOrEqualTo(String value) {
            addCriterion("工号 <=", value, "工号");
            return (Criteria) this;
        }

        public Criteria and工号Like(String value) {
            addCriterion("工号 like", value, "工号");
            return (Criteria) this;
        }

        public Criteria and工号NotLike(String value) {
            addCriterion("工号 not like", value, "工号");
            return (Criteria) this;
        }

        public Criteria and工号In(List<String> values) {
            addCriterion("工号 in", values, "工号");
            return (Criteria) this;
        }

        public Criteria and工号NotIn(List<String> values) {
            addCriterion("工号 not in", values, "工号");
            return (Criteria) this;
        }

        public Criteria and工号Between(String value1, String value2) {
            addCriterion("工号 between", value1, value2, "工号");
            return (Criteria) this;
        }

        public Criteria and工号NotBetween(String value1, String value2) {
            addCriterion("工号 not between", value1, value2, "工号");
            return (Criteria) this;
        }

        public Criteria and发送时间1IsNull() {
            addCriterion("发送时间1 is null");
            return (Criteria) this;
        }

        public Criteria and发送时间1IsNotNull() {
            addCriterion("发送时间1 is not null");
            return (Criteria) this;
        }

        public Criteria and发送时间1EqualTo(Date value) {
            addCriterion("发送时间1 =", value, "发送时间1");
            return (Criteria) this;
        }

        public Criteria and发送时间1NotEqualTo(Date value) {
            addCriterion("发送时间1 <>", value, "发送时间1");
            return (Criteria) this;
        }

        public Criteria and发送时间1GreaterThan(Date value) {
            addCriterion("发送时间1 >", value, "发送时间1");
            return (Criteria) this;
        }

        public Criteria and发送时间1GreaterThanOrEqualTo(Date value) {
            addCriterion("发送时间1 >=", value, "发送时间1");
            return (Criteria) this;
        }

        public Criteria and发送时间1LessThan(Date value) {
            addCriterion("发送时间1 <", value, "发送时间1");
            return (Criteria) this;
        }

        public Criteria and发送时间1LessThanOrEqualTo(Date value) {
            addCriterion("发送时间1 <=", value, "发送时间1");
            return (Criteria) this;
        }

        public Criteria and发送时间1In(List<Date> values) {
            addCriterion("发送时间1 in", values, "发送时间1");
            return (Criteria) this;
        }

        public Criteria and发送时间1NotIn(List<Date> values) {
            addCriterion("发送时间1 not in", values, "发送时间1");
            return (Criteria) this;
        }

        public Criteria and发送时间1Between(Date value1, Date value2) {
            addCriterion("发送时间1 between", value1, value2, "发送时间1");
            return (Criteria) this;
        }

        public Criteria and发送时间1NotBetween(Date value1, Date value2) {
            addCriterion("发送时间1 not between", value1, value2, "发送时间1");
            return (Criteria) this;
        }

        public Criteria and信息IsNull() {
            addCriterion("信息 is null");
            return (Criteria) this;
        }

        public Criteria and信息IsNotNull() {
            addCriterion("信息 is not null");
            return (Criteria) this;
        }

        public Criteria and信息EqualTo(String value) {
            addCriterion("信息 =", value, "信息");
            return (Criteria) this;
        }

        public Criteria and信息NotEqualTo(String value) {
            addCriterion("信息 <>", value, "信息");
            return (Criteria) this;
        }

        public Criteria and信息GreaterThan(String value) {
            addCriterion("信息 >", value, "信息");
            return (Criteria) this;
        }

        public Criteria and信息GreaterThanOrEqualTo(String value) {
            addCriterion("信息 >=", value, "信息");
            return (Criteria) this;
        }

        public Criteria and信息LessThan(String value) {
            addCriterion("信息 <", value, "信息");
            return (Criteria) this;
        }

        public Criteria and信息LessThanOrEqualTo(String value) {
            addCriterion("信息 <=", value, "信息");
            return (Criteria) this;
        }

        public Criteria and信息Like(String value) {
            addCriterion("信息 like", value, "信息");
            return (Criteria) this;
        }

        public Criteria and信息NotLike(String value) {
            addCriterion("信息 not like", value, "信息");
            return (Criteria) this;
        }

        public Criteria and信息In(List<String> values) {
            addCriterion("信息 in", values, "信息");
            return (Criteria) this;
        }

        public Criteria and信息NotIn(List<String> values) {
            addCriterion("信息 not in", values, "信息");
            return (Criteria) this;
        }

        public Criteria and信息Between(String value1, String value2) {
            addCriterion("信息 between", value1, value2, "信息");
            return (Criteria) this;
        }

        public Criteria and信息NotBetween(String value1, String value2) {
            addCriterion("信息 not between", value1, value2, "信息");
            return (Criteria) this;
        }

        public Criteria and信息分类IsNull() {
            addCriterion("信息分类 is null");
            return (Criteria) this;
        }

        public Criteria and信息分类IsNotNull() {
            addCriterion("信息分类 is not null");
            return (Criteria) this;
        }

        public Criteria and信息分类EqualTo(String value) {
            addCriterion("信息分类 =", value, "信息分类");
            return (Criteria) this;
        }

        public Criteria and信息分类NotEqualTo(String value) {
            addCriterion("信息分类 <>", value, "信息分类");
            return (Criteria) this;
        }

        public Criteria and信息分类GreaterThan(String value) {
            addCriterion("信息分类 >", value, "信息分类");
            return (Criteria) this;
        }

        public Criteria and信息分类GreaterThanOrEqualTo(String value) {
            addCriterion("信息分类 >=", value, "信息分类");
            return (Criteria) this;
        }

        public Criteria and信息分类LessThan(String value) {
            addCriterion("信息分类 <", value, "信息分类");
            return (Criteria) this;
        }

        public Criteria and信息分类LessThanOrEqualTo(String value) {
            addCriterion("信息分类 <=", value, "信息分类");
            return (Criteria) this;
        }

        public Criteria and信息分类Like(String value) {
            addCriterion("信息分类 like", value, "信息分类");
            return (Criteria) this;
        }

        public Criteria and信息分类NotLike(String value) {
            addCriterion("信息分类 not like", value, "信息分类");
            return (Criteria) this;
        }

        public Criteria and信息分类In(List<String> values) {
            addCriterion("信息分类 in", values, "信息分类");
            return (Criteria) this;
        }

        public Criteria and信息分类NotIn(List<String> values) {
            addCriterion("信息分类 not in", values, "信息分类");
            return (Criteria) this;
        }

        public Criteria and信息分类Between(String value1, String value2) {
            addCriterion("信息分类 between", value1, value2, "信息分类");
            return (Criteria) this;
        }

        public Criteria and信息分类NotBetween(String value1, String value2) {
            addCriterion("信息分类 not between", value1, value2, "信息分类");
            return (Criteria) this;
        }

        public Criteria and来源IsNull() {
            addCriterion("来源 is null");
            return (Criteria) this;
        }

        public Criteria and来源IsNotNull() {
            addCriterion("来源 is not null");
            return (Criteria) this;
        }

        public Criteria and来源EqualTo(String value) {
            addCriterion("来源 =", value, "来源");
            return (Criteria) this;
        }

        public Criteria and来源NotEqualTo(String value) {
            addCriterion("来源 <>", value, "来源");
            return (Criteria) this;
        }

        public Criteria and来源GreaterThan(String value) {
            addCriterion("来源 >", value, "来源");
            return (Criteria) this;
        }

        public Criteria and来源GreaterThanOrEqualTo(String value) {
            addCriterion("来源 >=", value, "来源");
            return (Criteria) this;
        }

        public Criteria and来源LessThan(String value) {
            addCriterion("来源 <", value, "来源");
            return (Criteria) this;
        }

        public Criteria and来源LessThanOrEqualTo(String value) {
            addCriterion("来源 <=", value, "来源");
            return (Criteria) this;
        }

        public Criteria and来源Like(String value) {
            addCriterion("来源 like", value, "来源");
            return (Criteria) this;
        }

        public Criteria and来源NotLike(String value) {
            addCriterion("来源 not like", value, "来源");
            return (Criteria) this;
        }

        public Criteria and来源In(List<String> values) {
            addCriterion("来源 in", values, "来源");
            return (Criteria) this;
        }

        public Criteria and来源NotIn(List<String> values) {
            addCriterion("来源 not in", values, "来源");
            return (Criteria) this;
        }

        public Criteria and来源Between(String value1, String value2) {
            addCriterion("来源 between", value1, value2, "来源");
            return (Criteria) this;
        }

        public Criteria and来源NotBetween(String value1, String value2) {
            addCriterion("来源 not between", value1, value2, "来源");
            return (Criteria) this;
        }

        public Criteria and区号IsNull() {
            addCriterion("区号 is null");
            return (Criteria) this;
        }

        public Criteria and区号IsNotNull() {
            addCriterion("区号 is not null");
            return (Criteria) this;
        }

        public Criteria and区号EqualTo(String value) {
            addCriterion("区号 =", value, "区号");
            return (Criteria) this;
        }

        public Criteria and区号NotEqualTo(String value) {
            addCriterion("区号 <>", value, "区号");
            return (Criteria) this;
        }

        public Criteria and区号GreaterThan(String value) {
            addCriterion("区号 >", value, "区号");
            return (Criteria) this;
        }

        public Criteria and区号GreaterThanOrEqualTo(String value) {
            addCriterion("区号 >=", value, "区号");
            return (Criteria) this;
        }

        public Criteria and区号LessThan(String value) {
            addCriterion("区号 <", value, "区号");
            return (Criteria) this;
        }

        public Criteria and区号LessThanOrEqualTo(String value) {
            addCriterion("区号 <=", value, "区号");
            return (Criteria) this;
        }

        public Criteria and区号Like(String value) {
            addCriterion("区号 like", value, "区号");
            return (Criteria) this;
        }

        public Criteria and区号NotLike(String value) {
            addCriterion("区号 not like", value, "区号");
            return (Criteria) this;
        }

        public Criteria and区号In(List<String> values) {
            addCriterion("区号 in", values, "区号");
            return (Criteria) this;
        }

        public Criteria and区号NotIn(List<String> values) {
            addCriterion("区号 not in", values, "区号");
            return (Criteria) this;
        }

        public Criteria and区号Between(String value1, String value2) {
            addCriterion("区号 between", value1, value2, "区号");
            return (Criteria) this;
        }

        public Criteria and区号NotBetween(String value1, String value2) {
            addCriterion("区号 not between", value1, value2, "区号");
            return (Criteria) this;
        }

        public Criteria and出发地IsNull() {
            addCriterion("出发地 is null");
            return (Criteria) this;
        }

        public Criteria and出发地IsNotNull() {
            addCriterion("出发地 is not null");
            return (Criteria) this;
        }

        public Criteria and出发地EqualTo(String value) {
            addCriterion("出发地 =", value, "出发地");
            return (Criteria) this;
        }

        public Criteria and出发地NotEqualTo(String value) {
            addCriterion("出发地 <>", value, "出发地");
            return (Criteria) this;
        }

        public Criteria and出发地GreaterThan(String value) {
            addCriterion("出发地 >", value, "出发地");
            return (Criteria) this;
        }

        public Criteria and出发地GreaterThanOrEqualTo(String value) {
            addCriterion("出发地 >=", value, "出发地");
            return (Criteria) this;
        }

        public Criteria and出发地LessThan(String value) {
            addCriterion("出发地 <", value, "出发地");
            return (Criteria) this;
        }

        public Criteria and出发地LessThanOrEqualTo(String value) {
            addCriterion("出发地 <=", value, "出发地");
            return (Criteria) this;
        }

        public Criteria and出发地Like(String value) {
            addCriterion("出发地 like", value, "出发地");
            return (Criteria) this;
        }

        public Criteria and出发地NotLike(String value) {
            addCriterion("出发地 not like", value, "出发地");
            return (Criteria) this;
        }

        public Criteria and出发地In(List<String> values) {
            addCriterion("出发地 in", values, "出发地");
            return (Criteria) this;
        }

        public Criteria and出发地NotIn(List<String> values) {
            addCriterion("出发地 not in", values, "出发地");
            return (Criteria) this;
        }

        public Criteria and出发地Between(String value1, String value2) {
            addCriterion("出发地 between", value1, value2, "出发地");
            return (Criteria) this;
        }

        public Criteria and出发地NotBetween(String value1, String value2) {
            addCriterion("出发地 not between", value1, value2, "出发地");
            return (Criteria) this;
        }

        public Criteria and电话号码IsNull() {
            addCriterion("电话号码 is null");
            return (Criteria) this;
        }

        public Criteria and电话号码IsNotNull() {
            addCriterion("电话号码 is not null");
            return (Criteria) this;
        }

        public Criteria and电话号码EqualTo(String value) {
            addCriterion("电话号码 =", value, "电话号码");
            return (Criteria) this;
        }

        public Criteria and电话号码NotEqualTo(String value) {
            addCriterion("电话号码 <>", value, "电话号码");
            return (Criteria) this;
        }

        public Criteria and电话号码GreaterThan(String value) {
            addCriterion("电话号码 >", value, "电话号码");
            return (Criteria) this;
        }

        public Criteria and电话号码GreaterThanOrEqualTo(String value) {
            addCriterion("电话号码 >=", value, "电话号码");
            return (Criteria) this;
        }

        public Criteria and电话号码LessThan(String value) {
            addCriterion("电话号码 <", value, "电话号码");
            return (Criteria) this;
        }

        public Criteria and电话号码LessThanOrEqualTo(String value) {
            addCriterion("电话号码 <=", value, "电话号码");
            return (Criteria) this;
        }

        public Criteria and电话号码Like(String value) {
            addCriterion("电话号码 like", value, "电话号码");
            return (Criteria) this;
        }

        public Criteria and电话号码NotLike(String value) {
            addCriterion("电话号码 not like", value, "电话号码");
            return (Criteria) this;
        }

        public Criteria and电话号码In(List<String> values) {
            addCriterion("电话号码 in", values, "电话号码");
            return (Criteria) this;
        }

        public Criteria and电话号码NotIn(List<String> values) {
            addCriterion("电话号码 not in", values, "电话号码");
            return (Criteria) this;
        }

        public Criteria and电话号码Between(String value1, String value2) {
            addCriterion("电话号码 between", value1, value2, "电话号码");
            return (Criteria) this;
        }

        public Criteria and电话号码NotBetween(String value1, String value2) {
            addCriterion("电话号码 not between", value1, value2, "电话号码");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}